Welcome![Sign In][Sign Up]
Location:
Search - reader writer problem

Search list

[File Operatereader-writer-problem

Description: reader-writer-problem读者写者问题代码-reader-writer-problem readers to write code problem
Platform: | Size: 8518 | Author: ws | Hits:

[File Formatreader-writer-problem

Description: reader-writer-problem读者写者问题代码-reader-writer-problem readers to write code problem
Platform: | Size: 8192 | Author: ws | Hits:

[OS programreader-writer

Description: 计算机操作系统上机实验,其中的读者写者问题的实现-Computer operating system on the machine experiment, in which readers write the realization of the problem
Platform: | Size: 54272 | Author: 沈玉 | Hits:

[OS Developreader-writer

Description: 操作系统中的经典问题,初步实现了这个问题的功能,对初学者很有帮助
Platform: | Size: 2048 | Author: 王宁 | Hits:

[OS DevelopReaderwriter

Description: Reader Writer Problem to solve synchronization issues
Platform: | Size: 33792 | Author: Nasir | Hits:

[Linux-Unixreader

Description: 本程序是实现操作系统中进程同步算法的程序,一个经典的算法reader/writer问题-This procedure is to achieve the operating system in the process of synchronization algorithm for the procedure, a classical algorithm for reader/writer problem
Platform: | Size: 1024 | Author: zhang | Hits:

[Process-Threadreader_writer.c

Description: reader-writer problem implemented in C
Platform: | Size: 1024 | Author: somit | Hits:

[Otherreadwrit

Description: reader writer problem
Platform: | Size: 1024 | Author: rohit | Hits:

[OS Developreader-writer

Description: 经典的读者写者问题 ,里面含有详细的说明并且含有规范的设计报告-The problem of the classic readers to write, which contains detailed descriptions and specifications of the design report containing
Platform: | Size: 91136 | Author: mq | Hits:

[Windows Developwr

Description: 读者与写着问题,可视化演示,直观的演示了读者写者问题。-Readers and reading problems, visual presentations, visual presentation of the reader-writer problem.
Platform: | Size: 141312 | Author: yang | Hits:

[Windows Develop1123

Description: 创建一个控制进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。运行结果显示要求:要求在每个线程创建、发出读写申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确定所有处理都遵守相应的读写操作限制。 读者-写者问题的读写操作限制-Create a control process, this process contains n threads. Use of these n threads to represent n-reader or writer. Each thread according to the requirements of the corresponding test data file read and write operations. Semaphore mechanism are used to achieve the reader and the writer first priority. Running results show requirements: requires each thread to create, send the application to read and write and began to read and write operations and the end of the read and write operations showed the line of tips to make sure that all deal with the corresponding read and write operations are to comply with restrictions. Readers- read and write operations to write the problem of limited
Platform: | Size: 1646592 | Author: a221221a | Hits:

[Otheroperation

Description: 学习操作系统中的PV操作的经典问题,如读者写者问题,哲学家问题,理发师问题等。-Operation of the operating system in the PV study classical problems, such as reader-writer problem, philosophers problem, barber and so on.
Platform: | Size: 1577984 | Author: yaoqingyuan | Hits:

[Otherreader_writer

Description: reader and writer problem
Platform: | Size: 384000 | Author: camel | Hits:

[OS programxianchengthread

Description: 在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。-In Windows 2000 environment, create a console that contains the process of n threads. N threads with which to express n a reader or writer. Each thread according to the requirements of the corresponding test data files, reading and writing. Please use the semaphore mechanism is realized for the reader and the writer first priority of the reader- writer problem.
Platform: | Size: 514048 | Author: zsb | Hits:

[Linux-UnixReader-Writer

Description: reader—writer problem 多线程同步算法 linux下实现-reader-writer problem linux multithreaded synchronization algorithm to achieve
Platform: | Size: 10240 | Author: 小贺 | Hits:

[Linux-Unixreaderwriter

Description: 在Linux下用多线程同步方法解决读者-写者问题(Reader-Writer Problem) -In Linux, use the multi-thread synchronization solution to the reader- writer problem (Reader-Writer Problem)
Platform: | Size: 113664 | Author: 孙芸芸 | Hits:

[Software Engineeringreaderwriter

Description: 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffer中有数据可读。 3、定义一个写者函数 当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。 当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。 当buffer有空闲时,写者应该在buffer中写入一个数据并退出。 当buffer满时,写者应该等待,直到buffer有空闲为止。 4、定义主函数,在其中可以任意创建读者与写者。 可根据用户输入创建读者或写者进程(线程)。 5、用户界面 (三) 实验要求 在实验过程中,显示详细的各进程(线程)的状态及buffer使用情况。 (四) 实验学时 3-Experiments using semaphore to implement a reader- writer problem (A) purpose of the experiment Understand the process (or thread), and the concept of semaphore (b) of the experiment content 1, define a data cache buffer, and synchronization for mutual exclusion semaphore. 2, the definition of a reader function: When a write buffer in the occupation, the reader should wait until the writer is no longer used in the buffer. When there are other readers in the occupied buffer, the reader can read buffer operations. When the buffer has data, from which a data read and displayed and then exit. When the buffer contains no data, they should wait until the buffer has data to read. 3, define the function of a writer When a reader occupied buffer, the writer should wait until all of the readers exit. When the buffer occupied by other writers, the writer should wait until the write buffer occupied by exit. When the buffer in their free time to write should be written in a
Platform: | Size: 122880 | Author: 镡皓琳 | Hits:

[Process-ThreadReader-Writer_Problem)

Description: 用多线程同步方法解决读者-写者问题。为每个读者/写者产生一个线程,设计正确的同步算法-With multi-thread synchronization methods to solve the reader- writer problem. For each reader/writer to produce a thread, correct synchronization algorithm design
Platform: | Size: 168960 | Author: nieyuanhao | Hits:

[Process-ThreadReader-Writer

Description: 创建一个控制台进程,此进程包含n个线程,用这n个线程来表示n个读者或写者,每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作,用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 写-写互斥,即不能有两个写者同时进行写操作。 读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作。 写者优先的附加限制:如果一个读者申请进行读操作时已有另一写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。-Create a console process, this process contains n threads, n-reader or writer to represent with n threads, each thread according to the corresponding test data files (followed by description) the requirements of the read and write operations, semaphores mechanisms, respectively reader priority and the write priority reader- writer problem. Reader- the writer to read and write operating limits (including the reader priority and priority to the writer): write- write mutually exclusive, ie can not have two writers write. Read- write mutex that is not at the same time there is a thread in another thread writing. Read- read permission, which can have one or more readers. Readers priority additional restrictions: If a reader application for the read operation has been another reader being read, the reader can directly read. Write priority additional restrictions: If a reader application for the read operation has been another writer in waiting for access to shared resources, the reader must
Platform: | Size: 7168 | Author: 何必 | Hits:

[Booksreader-and--writer

Description: 使用C++解决读者-写者问题,实现读者优先和写者优先,MFC-Use C++ address the reader- writer problem, readers priority and writing preferred, MFC
Platform: | Size: 5115904 | Author: Bob | Hits:
« 12 3 »

CodeBus www.codebus.net